home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Multimedia
/
Resource Library: Multimedia.iso
/
hypertxt
/
msdos
/
hydos10
/
copy
< prev
next >
Wrap
Text File
|
1991-04-10
|
2KB
|
38 lines
COPY
Copies a file (or group of files) to the same or another disk
See also <XCOPY> <VERIFY> <DISKCOPY>
COMMAND TYPE: Internal VERSION: 2.0 and up
USE: COPY [/A][/B][d:][path] filename [/A][/B][d:][path] [filename]
[/A][/B][/V]
or COPY [/A][/B][d:][path] filename [/A][/B][+[d:][path] filename
[/A][/B]] [d:][path] [filename] [/A][/B][/V]
or COPY [/A][/B][d:][path] filename [/A][/B][+[[,,]d:][path]
filename [/A][/B]...] [d:][path][filename] [/A][/B][/V]
The first d: path filename specifies the source file.
The + symbol will cause files to be joined together as they are
copied. For example: COPY FILE1+FILE2 FILE3 will copy the contents
of FILE1 and FILE2 into FILE3. Multiple files may be joined in one operation.
The second d: path filename specifies the destination file.
When /A (ascii) is used with the source filename, it will be copied up
to the first end of file marker (Ctrl-Z). The rest of the file will
not be copied.
When /A is used following the destination file, an end of file marker
will be added to the end of the file.
When /B (binary) is used with the source filename, the entire file
will be copied (including CTRL-Z). This is the default.
When /B is used following the destination filename, no end of file
marker will be added to the end of the file.
/V verifies that the data is copied correctly.
Wild Card characters are allowed within or in place of filenames.
Wildcards in the destination will be replaced by the corresponding
filename or part of filename from the source file list.